package org.PropertyManageMentSystem.Data;

public class ComplaintReply {
    public enum Role{
        scheduler,
        worker
    }
    public enum ComplaintReplyState{
        finished,
        unfinished
    }
    private Long complaintReplyId;
    private Long complaintId;
    private Role role;
    private Long id;
    private String info;
    private  ComplaintReplyState state;

    public Long getComplaintReplyId() {
        return complaintReplyId;
    }

    public Long getComplaintId() {
        return complaintId;
    }

    public Role getRole() {
        return role;
    }

    public Long getId() {
        return id;
    }

    public String getInfo() {
        return info;
    }

    public ComplaintReplyState getState() {
        return state;
    }

    public ComplaintReply(Long complaintReplyId, Long complaintId, Role role, Long id, String info, ComplaintReplyState state) {
        this.complaintReplyId = complaintReplyId;
        this.complaintId = complaintId;
        this.role = role;
        this.id = id;
        this.info = info;
        this.state = state;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public void setState(ComplaintReplyState state) {
        this.state = state;
    }
}
